package com.note.backend.controller.user.account;

import com.note.backend.service.user.account.GetInfoService;
import com.note.backend.utils.Result;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RequiredArgsConstructor
@RestController
public class GetInfoController {

    private final GetInfoService getInfoService;
    @GetMapping("/user/account/getInfo/")
    public Result getInfo() {
        return getInfoService.getInfo();
    }
}
